package com.gong.chooselesson.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description
 * @Author gongchang
 * @Date 2021-07-27 15:56
 */
@ApiModel("课程表")
@Data
@TableName("lesson")
public class Lesson extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("课程名字")
    @TableField("l_name")
    private String lName;

    @ApiModelProperty("课程描述")
    @TableField("l_describe")
    private String lDescribe;

    @ApiModelProperty("上课时间")
    @TableField("l_no")
    private int lNo;

    @ApiModelProperty("上课老师")
    @TableField("t_id")
    private int tId;

    @ApiModelProperty("课程剩余量")
    @TableField("l_left")
    private int lLeft;
}
